using System;
using System.Linq;
using System.Linq.Expressions;
using Abp.EntityFrameworkCore.Tests.Domain;

namespace Abp.EntityFrameworkCore.Tests.Ef;

public class TicketListItemRepository : SupportRepositoryBase<TicketListItem>
{
    private IQueryable<TicketListItem> View => GetContext().TicketListItems;

    public TicketListItemRepository(IDbContextProvider<SupportDbContext> dbContextProvider)
        : base(dbContextProvider)
    {

    }

    public override IQueryable<TicketListItem> GetAllIncluding(params Expression<Func<TicketListItem, object>>[] propertySelectors) => View;
}